Page({
  editHouse() {
    wx.navigateTo({
      url: '/house_pkg/pages/form-edit/index?id='+ this.data.id,
    })
  },
  async onLoad({id}){
    // console.log('页面id',id);
  const res =  await wx.http({
    url:'/room/'+id
  })
  // console.log(res);
  // ...展开表达式
  this.setData({...this.data,...res.data})
  }
})
